const crypto = import('crypto-js')
parse = function(t) {
    return h.parse(unescape(encodeURIComponent(t)))
}
function w(t) {
    var {SIGN: t, str: n} = t, n = decodeURI(n)
    console.log(n);
    
    crypto.HmacSHA1(parse(n), t).toString();
    console.log(crypto.HmacSHA1(parse(n), t)).toString()
    // t = u.a.enc.Base64.stringify(n).toString();
    // return s()(t)
}
t= {
    "SIGN": "D23ABC@#56",
    "str": "api.zjzw.cn/web/api/?keyword=%E8%A5%BF%E5%8D%97%E4%BA%A4%E9%80%9A%E5%A4%A7%E5%AD%A6%E5%B8%8C%E6%9C%9B%E5%AD%A6%E9%99%A2&page=1&province_id=&ranktype=&request_type=1&size=20&top_school_id=%5B264,227,2461,770,2505,822,3193%5D&type=&uri=apidata/api/gkv3/school/lists"
}
SIGN=w(t)
console.log(SIGN);
